package com.md.config.demo;

import com.google.common.collect.Lists;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 刘骄阳
 * 2023-02-24 16:31
 */
@Component
public class Demo implements DemoInterface {
  @Override
  public List<String> query() {
    return Lists.newArrayList("1", "2", "3");
  }

  @Override
  public void handle() {
    System.out.println("123");

  }
}
